package com.example.gobang2.mapper;

import com.example.gobang2.model.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    User selectByName(String username);

    int insert(User user);
    void userWin(User user);
    void userLose(User user);
}
